[INFO] cloning repository https://github.com/rusticus-io/ownership-borrowing-lifetimes
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rusticus-io/ownership-borrowing-lifetimes" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frusticus-io%2Fownership-borrowing-lifetimes", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frusticus-io%2Fownership-borrowing-lifetimes'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 2fe59d05b6c9f54b075f09cf4dde394ec3aa344f
[INFO] building rusticus-io/ownership-borrowing-lifetimes against master#ff34b919075f35a1787659e9c448a34b06bab8de for issue-85264
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frusticus-io%2Fownership-borrowing-lifetimes" "/workspace/builds/worker-14/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-14/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/rusticus-io/ownership-borrowing-lifetimes on toolchain ff34b919075f35a1787659e9c448a34b06bab8de
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/rusticus-io/ownership-borrowing-lifetimes
[INFO] finished tweaking git repo https://github.com/rusticus-io/ownership-borrowing-lifetimes
[INFO] tweaked toml for git repo https://github.com/rusticus-io/ownership-borrowing-lifetimes written to /workspace/builds/worker-14/source/Cargo.toml
[INFO] crate git repo https://github.com/rusticus-io/ownership-borrowing-lifetimes already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 5857787454d966a4233f270e746d3dc400f5d1ed602176ee6b5fcfaa4a3b4f41
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "5857787454d966a4233f270e746d3dc400f5d1ed602176ee6b5fcfaa4a3b4f41", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "5857787454d966a4233f270e746d3dc400f5d1ed602176ee6b5fcfaa4a3b4f41", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5857787454d966a4233f270e746d3dc400f5d1ed602176ee6b5fcfaa4a3b4f41", kill_on_drop: false }`
[INFO] [stdout] 5857787454d966a4233f270e746d3dc400f5d1ed602176ee6b5fcfaa4a3b4f41
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] a53b54833c4d304f6d688947f75970d92aca65c37b81e25bb32e9baeb27df68d
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "a53b54833c4d304f6d688947f75970d92aca65c37b81e25bb32e9baeb27df68d", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]    Compiling rand_os v0.1.3
[INFO] [stderr]    Compiling rand v0.6.5
[INFO] [stderr]    Compiling ownbol v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 8.40s
[INFO] running `Command { std: "docker" "inspect" "a53b54833c4d304f6d688947f75970d92aca65c37b81e25bb32e9baeb27df68d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a53b54833c4d304f6d688947f75970d92aca65c37b81e25bb32e9baeb27df68d", kill_on_drop: false }`
[INFO] [stdout] a53b54833c4d304f6d688947f75970d92aca65c37b81e25bb32e9baeb27df68d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] ae59cc2a5a56c1a2933a3e965b4db64ff9feeb13146603880060987d9aae2640
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "ae59cc2a5a56c1a2933a3e965b4db64ff9feeb13146603880060987d9aae2640", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]    Compiling ownbol v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: variable `x` is assigned to, but never used
[INFO] [stdout]   --> examples/03-deferred-definition.rs:14:13
[INFO] [stdout]    |
[INFO] [stdout] 14 |         let x; // declaration           .....+  space reserved on the stack
[INFO] [stdout]    |             ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout]    = note: consider using `_x` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `a`
[INFO] [stdout]   --> examples/03-deferred-definition.rs:17:17
[INFO] [stdout]    |
[INFO] [stdout] 17 |             let a = A("a");                 //  .
[INFO] [stdout]    |                 ^ help: if this is intentional, prefix it with an underscore: `_a`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `x` is never read
[INFO] [stdout]   --> examples/03-deferred-definition.rs:18:13
[INFO] [stdout]    |
[INFO] [stdout] 18 |             x = A("x"); // definition       // <!  lifetime of x starts here
[INFO] [stdout]    |             ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` on by default
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0597]: `a` does not live long enough
[INFO] [stdout]   --> examples/04-lifetime.rs:19:17
[INFO] [stdout]    |
[INFO] [stdout] 19 |             x = &a; // definition       !   // <!  lifetime of x starts here | # cover a lifetime
[INFO] [stdout]    |                 ^^ borrowed value does not live long enough
[INFO] [stdout] 20 |             println!("{:?}", x);            //  !  usage of x is valid
[INFO] [stdout] 21 |         } // stack frame ends           !   //  !
[INFO] [stdout]    |         - `a` dropped here while still borrowed
[INFO] [stdout] ...
[INFO] [stdout] 25 |         println!("{:?}", x);                //  !  usage of x leads to borrow checker error
[INFO] [stdout]    |                          - borrow later used here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0597`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `ownbol`
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: build failed
[INFO] running `Command { std: "docker" "inspect" "ae59cc2a5a56c1a2933a3e965b4db64ff9feeb13146603880060987d9aae2640", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ae59cc2a5a56c1a2933a3e965b4db64ff9feeb13146603880060987d9aae2640", kill_on_drop: false }`
[INFO] [stdout] ae59cc2a5a56c1a2933a3e965b4db64ff9feeb13146603880060987d9aae2640
